package com.liuxia8.part8.vectors;

import java.util.Vector;

/**
 * Created by weng.junjie on 2017/2/24.
 */
public class Vtest {
    public static void main(String[] args) {
        Vector v=new Vector();
        v.add(1);
        v.add(2);
        v.add("zhangsan");
        for (int i=0;i<v.size();i++){
            System.out.println(v.elementAt(i));
        }
    }
}
